system calls

All posts tagged system calls by Linux Bash
  • Posted on
    Featured Image
    The article explains how to use `strace`, a Linux tool for debugging scripts by tracing system calls and signals. It covers `strace`'s functionality in capturing syscall-level interactions, which aids in diagnosing errors and inefficiencies that are tough to find at the script logic level. Key flags like `-o`, `-e`, `-p`, and `-f` are detailed, with examples illustrating `strace` in action on simple script operations such as file reading and writing.
  • Posted on
    Featured Image
    Explore the essentials of using system calls with Bash in Linux, guiding beginners on tasks like file management and automation. The article explains installing the `syscall` utility, using it across Linux distributions, and includes practical examples like fetching system time and disk usage monitoring. Perfect for those wanting to boost their scripting skills and understand core system operations.
  • Posted on
    Featured Image
    This detailed guide discusses Linux signals, focusing on types like SIGHUP, SIGINT, and SIGKILL, and their behaviors, especially how SIGKILL and SIGSTOP cannot be modified. It explores signal effects on processes, providing valuable insights for programmers at all levels, and includes links for further learning on signal handling.